
package com.sm.shoplook.domain.base;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_base_material")
public class Material implements Serializable {

	@Id
	private Integer id;
	/**
	 * 图片地址
	 */
	@Column(name = "img_url")
	private String imgUrl;
	/**
	 * 描述
	 */
	private String descrption;
	private Integer status;
	@Column(name = "category_id")
	private Integer categoryId;
	/**
	 * 价格
	 */
	private BigDecimal price;
    /**
     * 链接
     */
	@Column(name = "link_url")
	private String linkUrl;
	private static final long serialVersionUID = 1L;

	/**
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 获取图片地址
	 * @return img_url - 图片地址
	 */
	public String getImgUrl() {
		return imgUrl;
	}

	/**
	 * 设置图片地址
	 * @param imgUrl 图片地址
	 */
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	/**
	 * 获取描述
	 * @return descrption - 描述
	 */
	public String getDescrption() {
		return descrption;
	}

	/**
	 * 设置描述
	 * @param descrption 描述
	 */
	public void setDescrption(String descrption) {
		this.descrption = descrption;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }
}
